package com.gxa.user.recycling.service;

import com.gxa.core.recycling.exception.BusinessException;
import com.gxa.core.recycling.pojo.Goods;
import com.gxa.core.recycling.service.BaseService;

import java.util.List;
import java.util.Map;

public interface GoodsService extends BaseService<Goods>{
    Goods selectById(Long id) throws BusinessException;
    List<Map<String,Object>> findGoodsByHotAndState(Boolean hot, Boolean state);

}
